﻿namespace ExamV5.WorkExam
{
    using ExamV5;
    using System;
    using System.Configuration;
    using System.Data;
    using System.Data.SqlClient;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public class AddJoinMan : Page
    {
        protected Button butAllDel;
        protected Button butAllSelect;
        protected Button butDefault;
        protected Button butOneDel;
        protected Button butOneSelect;
        protected Button butQuery;
        protected Button butUserAddAll;
        protected CheckBox CBHandSet;
        protected CheckBox CBLastUse;
        protected DropDownList DDLQuery;
        protected DropDownList DDLUPDept;
        protected HtmlForm Form1;
        protected HtmlHead Head1;
        private HttpCookie httpCookie_0 = null;
        private HttpCookie httpCookie_1 = null;
        private HttpCookie httpCookie_2 = null;
        private HttpCookie httpCookie_3 = null;
        private HttpCookie httpCookie_4 = null;
        private int int_0 = 0;
        protected Label Label1;
        protected Label labSelectedUserTip;
        protected Label labSelectUserTip;
        protected ListBox LBSelect;
        protected ListBox LBSelected;
        private PublicFun publicFun_0 = new PublicFun();
        protected RadioButtonList RBLChoose;
        protected RadioButtonList RBLTimeType;
        protected ScriptManager SM;
        protected TextBox txtEndDate;
        protected TextBox txtQuery;
        protected TextBox txtStartDate;
        protected TextBox txtUserAddList;
        protected UpdatePanel UPPart;

        protected void butAllDel_Click(object sender, EventArgs e)
        {
            ListItem item = null;
            for (int i = 0; i < this.LBSelected.Items.Count; i++)
            {
                item = new ListItem(this.LBSelected.Items[i].Text, this.LBSelected.Items[i].Value);
                if (this.LBSelect.Items.IndexOf(item) == -1)
                {
                    this.LBSelect.Items.Add(item);
                }
            }
            this.LBSelected.Items.Clear();
            this.labSelectUserTip.Text = "待选人员<font color=red>(" + this.LBSelect.Items.Count + ")</font>";
            this.labSelectedUserTip.Text = "已选人员<font color=red>(" + this.LBSelected.Items.Count + ")</font>";
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }

        protected void butAllSelect_Click(object sender, EventArgs e)
        {
            ListItem item = null;
            for (int i = 0; i < this.LBSelect.Items.Count; i++)
            {
                item = new ListItem(this.LBSelect.Items[i].Text, this.LBSelect.Items[i].Value);
                if (this.LBSelected.Items.IndexOf(item) == -1)
                {
                    this.LBSelected.Items.Add(item);
                }
            }
            this.LBSelect.Items.Clear();
            this.labSelectUserTip.Text = "待选人员<font color=red>(0)</font>";
            this.labSelectedUserTip.Text = "已选人员<font color=red>(" + this.LBSelected.Items.Count + ")</font>";
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }

        protected void butDefault_Click(object sender, EventArgs e)
        {
            string str = "";
            string str2 = "";
            if (this.LBSelected.Items.Count != 0)
            {
                this.publicFun_0.ExecuteSql(string.Concat(new object[] { "delete SysTip where Formtable='WorkPaperInfo' and FormID=", this.int_0, ";delete WorkPaperData where UserCode<>'' and PaperID=", this.int_0, ";delete WorkExamUser where PaperID=", this.int_0 }));
                this.butDefault.Visible = false;
                string connectionString = ConfigurationManager.ConnectionStrings["Conn"].ConnectionString;
                SqlConnection connection2 = new SqlConnection(connectionString);
                connection2.Open();
                SqlCommand command2 = new SqlCommand {
                    Connection = connection2
                };
                try
                {
                    SqlConnection connection = new SqlConnection(connectionString);
                    connection.Open();
                    SqlCommand command = new SqlCommand("select a.ExamName,a.RubricDist,a.SubjectID,a.SubjectName from WorkPaperInfo a where  a.ID=" + this.int_0, connection);
                    SqlDataReader reader = command.ExecuteReader(CommandBehavior.CloseConnection);
                    if (reader.Read())
                    {
                        reader["RubricDist"].ToString();
                        reader["SubjectName"].ToString();
                        reader["SubjectID"].ToString();
                        this.ViewState["SubjectName"] = reader["SubjectName"].ToString();
                        this.ViewState["ExamName"] = reader["ExamName"].ToString();
                    }
                    reader.Close();
                    command.Dispose();
                    connection.Close();
                    connection.Dispose();
                    new Random();
                    "ID#ID".Split(new char[] { '#' });
                    for (int i = 0; i < this.LBSelected.Items.Count; i++)
                    {
                        str2 = "ID#ID";
                        str = "Insert into WorkPaperData(PaperID,UserCode,RubricS,RubricD,SortInfo) ";
                        str = string.Concat(new object[] { str, " select PaperID,'", this.LBSelected.Items[i].Value.Trim(), "' as UserCode,RubricS,RubricD,'", str2, "' as SortInfo from WorkPaperData where UserCode='' and PaperID=", this.int_0 });
                        command2.CommandText = str;
                        command2.ExecuteNonQuery();
                        str = string.Concat(new object[] { "Insert into WorkExamUser(UserCode,PaperID,ExamName,SubjectName,GetCountFen,Flag,LoginIP,LastDate) values('", this.LBSelected.Items[i].Value.Trim(), "',", this.int_0, ",'", this.ViewState["ExamName"].ToString(), "','", this.ViewState["SubjectName"].ToString(), "','0','A','','')" });
                        string str4 = "您有最新的职业测评考试！";
                        command2.CommandText = str;
                        command2.ExecuteNonQuery();
                        if (this.CBHandSet.Checked)
                        {
                            this.publicFun_0.SendHandSet(this.LBSelected.Items[i].Value.Trim(), "考试系统提醒：" + str4, this.httpCookie_1.Value, this.httpCookie_1.Value);
                        }
                    }
                    if (this.CBLastUse.Checked)
                    {
                        this.publicFun_0.ExecuteSql(string.Concat(new object[] { "insert into SysLogInfo(LogDisp,EditUser,EditUserCode) values('职业测评试卷生成成功！','", this.httpCookie_1.Value, "','", this.httpCookie_0.Value, "');update WorkPaperInfo set LastJoin='Y' where ID=", this.int_0 }));
                    }
                    else
                    {
                        this.publicFun_0.ExecuteSql(string.Concat(new object[] { "insert into SysLogInfo(LogDisp,EditUser,EditUserCode) values('职业测评试卷生成成功！','", this.httpCookie_1.Value, "','", this.httpCookie_0.Value, "');update WorkPaperInfo set LastJoin='N' where ID=", this.int_0 }));
                    }
                    ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "BSuccSDB", "alert('职业测评试卷生成成功！');setTimeout(function(){window.location='FrmWorkPaperList.aspx'},500)", true);
                }
                catch
                {
                    this.publicFun_0.ExecuteSql(string.Concat(new object[] { "delete from WorkGradeReule where PaperID=", this.int_0, ";delete from WorkPaperData where PaperID=", this.int_0, ";delete from CombSendInfo where Flag='A';Delete from WorkPaperInfo where ID=", this.int_0, ";Delete from WorkExamUser where PaperID=", this.int_0, ";delete from SysTip where Formtable='WorkPaperInfo' and FormID=", this.int_0 }));
                    ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "BSuccAX", "alert('确定考试人员时出错！');setTimeout(function(){window.location='FrmWorkPaperList.aspx'},500)", true);
                }
                finally
                {
                    connection2.Close();
                    connection2.Dispose();
                }
            }
            else
            {
                ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "BCheck", "alert('请选择参加考试人员信息！')", true);
            }
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }

        protected void butOneDel_Click(object sender, EventArgs e)
        {
            string str = "";
            if (this.LBSelected.SelectedIndex > -1)
            {
                int num2 = 0;
                while (num2 < this.LBSelected.Items.Count)
                {
                    if (this.LBSelected.Items[num2].Selected && (this.LBSelect.Items.IndexOf(this.LBSelected.Items[num2]) == -1))
                    {
                        this.LBSelect.Items.Add(this.LBSelected.Items[num2]);
                        str = str + this.LBSelected.Items[num2].Value + "#";
                    }
                    num2++;
                }
                string[] strArray = str.Split(new char[] { '#' });
                if (strArray.Length > 1)
                {
                    for (int i = 0; i < strArray.Length; i++)
                    {
                        for (num2 = 0; num2 < this.LBSelected.Items.Count; num2++)
                        {
                            if (this.LBSelected.Items[num2].Value == strArray[i])
                            {
                                this.LBSelected.Items.Remove(this.LBSelected.Items[num2]);
                            }
                        }
                    }
                }
            }
            this.labSelectUserTip.Text = "待选人员<font color=red>(" + this.LBSelect.Items.Count + ")</font>";
            this.labSelectedUserTip.Text = "已选人员<font color=red>(" + this.LBSelected.Items.Count + ")</font>";
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }

        protected void butOneSelect_Click(object sender, EventArgs e)
        {
            string str = "";
            if (this.LBSelect.SelectedIndex > -1)
            {
                int num2 = 0;
                while (num2 < this.LBSelect.Items.Count)
                {
                    if (this.LBSelect.Items[num2].Selected && (this.LBSelected.Items.IndexOf(this.LBSelect.Items[num2]) == -1))
                    {
                        this.LBSelected.Items.Add(this.LBSelect.Items[num2]);
                        str = str + this.LBSelect.Items[num2].Value + "#";
                    }
                    num2++;
                }
                string[] strArray = str.Split(new char[] { '#' });
                if (strArray.Length > 1)
                {
                    for (int i = 0; i < strArray.Length; i++)
                    {
                        for (num2 = 0; num2 < this.LBSelect.Items.Count; num2++)
                        {
                            if (this.LBSelect.Items[num2].Value == strArray[i])
                            {
                                this.LBSelect.Items.Remove(this.LBSelect.Items[num2]);
                            }
                        }
                    }
                }
            }
            this.labSelectUserTip.Text = "待选人员<font color=red>(" + this.LBSelect.Items.Count + ")</font>";
            this.labSelectedUserTip.Text = "已选人员<font color=red>(" + this.LBSelected.Items.Count + ")</font>";
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }

        protected void butQuery_Click(object sender, EventArgs e)
        {
            this.method_1();
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }

        protected void butUserAddAll_Click(object sender, EventArgs e)
        {
            ListItem item = null;
            string str = ("'" + this.txtUserAddList.Text.Trim().Replace("，", ",") + "'").Replace(",", "','");
            string cmdText = "select a.UserCode,'['+a.UserCode+']'+a.UserName as UserName  from UserInfo a,DeptInfo b  where a.DeptID=b.ID  and a.flag<>'B'";
            cmdText = (cmdText + " and (a.UserName in(" + str + ") or a.UserCode in(" + str + "))") + " order by a.UserCode";
            SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["Conn"].ConnectionString);
            connection.Open();
            SqlCommand command = new SqlCommand(cmdText, connection);
            SqlDataReader reader = command.ExecuteReader(CommandBehavior.CloseConnection);
            while (reader.Read())
            {
                item = new ListItem(reader["UserName"].ToString(), reader["UserCode"].ToString());
                if (this.LBSelected.Items.IndexOf(item) == -1)
                {
                    this.LBSelected.Items.Add(item);
                }
            }
            reader.Close();
            command.Dispose();
            connection.Close();
            connection.Dispose();
            if (this.RBLChoose.SelectedItem.Value != "D")
            {
                this.labSelectedUserTip.Text = "已选人员<font color=red>(" + this.LBSelected.Items.Count + ")</font>";
            }
            else
            {
                this.labSelectedUserTip.Text = "已选职务<font color=red>(" + this.LBSelected.Items.Count + ")</font>";
            }
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }

        protected void DDLQuery_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.method_1();
        }

        protected void DDLUPDept_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.DDLQuery.Items.Clear();
            this.publicFun_0.LoadDeptInfo(this.DDLQuery, this.DDLUPDept.SelectedItem.Value, this.httpCookie_0.Value, "B");
            if (this.DDLQuery.Items.Count == 0)
            {
                if (!(this.DDLUPDept.SelectedItem.Value == "0"))
                {
                    ListItem item = new ListItem(this.DDLUPDept.SelectedItem.Text, this.DDLUPDept.SelectedItem.Value);
                    this.DDLQuery.Items.Add(item);
                }
                else
                {
                    ListItem item2 = new ListItem("--所有部门--", "0");
                    this.DDLQuery.Items.Insert(0, item2);
                }
            }
        }

        private void method_0()
        {
            this.DDLQuery.Items.Clear();
            this.LBSelect.Items.Clear();
            string str = this.RBLChoose.SelectedItem.Value;
            switch (str)
            {
                case null:
                    break;

                case "A":
                    this.DDLUPDept.Visible = true;
                    this.DDLUPDept.DataTextField = "DeptName";
                    this.DDLUPDept.DataValueField = "ID";
                    if (!(this.httpCookie_3.Value == "C"))
                    {
                        this.DDLUPDept.DataSource = this.publicFun_0.RetrunDataView("select ID,DeptName from DeptInfo where ID=" + this.httpCookie_4.Value + " order by SortInfo,ID");
                    }
                    else
                    {
                        this.DDLUPDept.DataSource = this.publicFun_0.RetrunDataView("select ID,DeptName from DeptInfo where UPID=0  order by SortInfo,ID");
                    }
                    this.DDLUPDept.DataBind();
                    if (!(this.httpCookie_3.Value == "C"))
                    {
                        this.DDLQuery.Items.Clear();
                        this.publicFun_0.LoadDeptInfo(this.DDLQuery, this.DDLUPDept.SelectedItem.Value, this.httpCookie_0.Value, "B");
                        if (this.DDLQuery.Items.Count == 0)
                        {
                            ListItem item2 = new ListItem(this.DDLUPDept.SelectedItem.Text, this.DDLUPDept.SelectedItem.Value);
                            this.DDLQuery.Items.Add(item2);
                        }
                    }
                    else
                    {
                        this.DDLUPDept.SelectedIndex = -1;
                        this.DDLQuery.SelectedIndex = -1;
                        ListItem item3 = new ListItem("--所有单位--", "0");
                        ListItem item4 = new ListItem("--所有部门--", "0");
                        this.DDLQuery.Items.Insert(0, item4);
                        this.DDLUPDept.Items.Insert(0, item3);
                    }
                    this.DDLQuery.Enabled = true;
                    this.DDLQuery.Width = 180;
                    this.RBLTimeType.Enabled = true;
                    this.txtStartDate.Enabled = true;
                    this.txtEndDate.Enabled = true;
                    this.txtQuery.Enabled = true;
                    //this.butQuery.Enabled = true;
                    break;

                default:
                    if (str == "B")
                    {
                        this.DDLUPDept.Visible = false;
                        this.DDLQuery.Width = 380;
                        this.RBLTimeType.Enabled = false;
                        this.txtStartDate.Enabled = false;
                        this.txtEndDate.Enabled = false;
                        this.txtQuery.Enabled = false;
                        //this.butQuery.Enabled = false;
                        this.DDLQuery.DataTextField = "GroupName";
                        this.DDLQuery.DataValueField = "ID";
                        string strSql = "";
                        if (!(this.httpCookie_3.Value == "C"))
                        {
                            strSql = "select ID,GroupName from UserGroup where EditUser='" + this.httpCookie_1.Value + "' order by ID";
                        }
                        else
                        {
                            strSql = "select ID,GroupName from UserGroup order by ID";
                        }
                        this.DDLQuery.DataSource = this.publicFun_0.RetrunDataView(strSql);
                        this.DDLQuery.DataBind();
                        ListItem item = new ListItem("请选择用户组", "0");
                        this.DDLQuery.Items.Insert(0, item);
                    }
                    break;
            }
        }

        private void method_1()
        {
            string strSql = "";
            string str3 = "";
            string str4 = "";
            this.LBSelect.Items.Clear();
            switch (this.RBLChoose.SelectedItem.Value)
            {
                case "A":
                    if (this.DDLQuery.SelectedItem.Value == "0")
                    {
                        strSql = "select a.UserCode,'['+a.UserCode+']'+a.UserName as UserName  from UserInfo a,DeptInfo b  where a.DeptID=b.ID  and a.flag<>'B'";
                    }
                    if (this.DDLQuery.SelectedItem.Value != "0")
                    {
                        strSql = "select a.UserCode,'['+a.UserCode+']'+a.UserName as UserName  from UserInfo a,DeptInfo b where a.DeptID=b.ID and (" + this.publicFun_0.GetManagDeptID(this.DDLQuery.SelectedItem.Value) + ") and a.flag<>'B'";
                    }
                    if (this.txtQuery.Text.Trim() != "")
                    {
                        strSql = strSql + " and (a.UserName like '%" + this.txtQuery.Text.Trim() + "%' or a.UserCode like '%" + this.txtQuery.Text.Trim() + "%' or a.Worker like '%" + this.txtQuery.Text.Trim() + "%' or a.UserGWName like '%" + this.txtQuery.Text.Trim() + "%')";
                    }
                    if (this.RBLTimeType.SelectedItem.Value == "A")
                    {
                        if (!((this.txtStartDate.Text.Trim() != "") ? !(this.txtEndDate.Text.Trim() != "") : true))
                        {
                            strSql = strSql + "  and (a.JoinWorkDate<>'' and a.JoinWorkDate is not null) and (Convert(dateTime,a.JoinWorkDate)>=Convert(dateTime,'" + this.publicFun_0.CheckString(this.txtStartDate.Text.Trim()) + "')  and Convert(dateTime,'" + this.publicFun_0.CheckString(this.txtEndDate.Text.Trim()) + "')>=Convert(dateTime,a.JoinWorkDate))";
                        }
                    }
                    else if (!((this.txtStartDate.Text.Trim() != "") ? !(this.txtEndDate.Text.Trim() != "") : true))
                    {
                        strSql = strSql + "  and (a.UserAge<>'' and a.UserAge is not null) and (Convert(dateTime,a.UserAge)>=Convert(dateTime,'" + this.publicFun_0.CheckString(this.txtStartDate.Text.Trim()) + "')  and Convert(dateTime,'" + this.publicFun_0.CheckString(this.txtEndDate.Text.Trim()) + "')>=Convert(dateTime,a.UserAge))";
                    }
                    strSql = strSql + " order by a.UserCode";
                    this.LBSelect.DataTextField = "UserName";
                    this.LBSelect.DataValueField = "UserCode";
                    this.LBSelect.DataSource = this.publicFun_0.RetrunDataView(strSql);
                    this.LBSelect.DataBind();
                    break;

                case "B":
                {
                    strSql = "select UserCode,UserName from UserGroup where ID=" + this.DDLQuery.SelectedItem.Value;
                    SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["Conn"].ConnectionString);
                    connection.Open();
                    SqlCommand command = new SqlCommand(strSql, connection);
                    SqlDataReader reader = command.ExecuteReader(CommandBehavior.CloseConnection);
                    if (reader.Read())
                    {
                        str3 = reader["UserCode"].ToString();
                        str4 = reader["UserName"].ToString();
                    }
                    reader.Close();
                    command.Dispose();
                    connection.Close();
                    connection.Dispose();
                    if (str3.Trim() != "")
                    {
                        str3 = str3.Substring(1, str3.Length - 2);
                        str4 = str4.Substring(1, str4.Length - 2);
                        ListItem item = null;
                        string[] strArray2 = str3.Split(new char[] { ',' });
                        string[] strArray = str4.Split(new char[] { ',' });
                        for (int i = 0; i < strArray.Length; i++)
                        {
                            if (strArray2[i].Trim() != "")
                            {
                                item = new ListItem(strArray[i].Trim(), strArray2[i].Trim());
                                this.LBSelect.Items.Add(item);
                            }
                        }
                    }
                    break;
                }
            }
            this.labSelectUserTip.Text = "待选人员<font color=red>(" + this.LBSelect.Items.Count + ")</font>";
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            this.httpCookie_0 = new HttpCookie("ExamUserCode");
            this.httpCookie_0 = base.Request.Cookies["ExamUserCode"];
            this.httpCookie_1 = new HttpCookie("ExamUserName");
            this.httpCookie_1 = base.Request.Cookies["ExamUserName"];
            this.httpCookie_3 = new HttpCookie("ExamUserLevel");
            this.httpCookie_3 = base.Request.Cookies["ExamUserLevel"];
            this.httpCookie_4 = new HttpCookie("ExamDeptID");
            this.httpCookie_4 = base.Request.Cookies["ExamDeptID"];
            this.httpCookie_2 = new HttpCookie("ExamDeptName");
            this.httpCookie_2 = base.Request.Cookies["ExamDeptName"];
            if ((this.httpCookie_0 != null) ? !(this.httpCookie_0.Value == "") : false)
            {
                base.Response.Cache.SetCacheability(HttpCacheability.NoCache);
                base.Response.Cache.SetNoStore();
                this.httpCookie_0.Value = this.publicFun_0.CheckString(base.Server.UrlDecode(this.httpCookie_0.Value));
                this.httpCookie_1.Value = this.publicFun_0.CheckString(base.Server.UrlDecode(this.httpCookie_1.Value));
                this.httpCookie_3.Value = this.publicFun_0.CheckString(base.Server.UrlDecode(this.httpCookie_3.Value));
                this.httpCookie_4.Value = this.publicFun_0.CheckString(base.Server.UrlDecode(this.httpCookie_4.Value));
                this.httpCookie_2.Value = this.publicFun_0.CheckString(base.Server.UrlDecode(this.httpCookie_2.Value));
                this.int_0 = Convert.ToInt32(base.Request["ID"].ToString().Trim());
                if (!base.IsPostBack)
                {
                    this.ViewState["SubjectName"] = "";
                    this.ViewState["ExamName"] = "";
                    if (!(this.publicFun_0.GetValues("select ParmValue from SysParmInfo where ParmMemo='HandComb'", "ParmValue") == "1"))
                    {
                        this.CBHandSet.Enabled = false;
                    }
                    else
                    {
                        this.CBHandSet.Enabled = true;
                    }
                    if (!(this.publicFun_0.ReturnPaperData() != "Yes"))
                    {
                        this.butDefault.Attributes.Add("onclick", @"javascript:{if(confirm('确认无误吗？生成试卷需要一定的时间，请耐心等待生成结果！\n\n请中途勿离开此页面！！！')==false) return false;}");
                        this.LBSelected.DataTextField = "UserName";
                        this.LBSelected.DataValueField = "UserCode";
                        this.LBSelected.DataSource = this.publicFun_0.RetrunDataView("select b.UserCode ,'['+b.UserCode+']'+b.UserName as UserName  from WorkExamUser a,UserInfo b where a.UserCode=b.UserCode and a.PaperID=" + this.int_0);
                        this.LBSelected.DataBind();
                        this.labSelectedUserTip.Text = "已选人员<font color=red>(" + this.LBSelected.Items.Count + ")</font>";
                        this.method_0();
                        this.method_1();
                    }
                    else
                    {
                        ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "BCheck", "alert('此版本暂未授权,请拔打(0)13870606104手机号进行授权！')", true);
                    }
                }
            }
            else
            {
                base.Response.Write("<script language=javascript>top.location.href='../Index.htm';self.close();</script>");
            }
        }

        protected void RBLChoose_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.method_0();
            this.method_1();
            ScriptManager.RegisterStartupScript(this.UPPart, this.Page.GetType(), "Render", "LayaUIFormRender();", true);
        }
    }
}

